<?php
namespace app\admin\model;



class LocationModel extends BaseModel
{
    protected $table_name = 'location';


    public function lists($where = [],$order = 'id asc'){
        if(empty($order)){
            $order = 'id asc';
        }
        return $this->where($where)->order($order)->select()->toArray();
    }
}
